<template>
  <div id="tabbar">
    <slot></slot>
  </div>
</template>

<script>
export default {
  // 组件名称
  name: "tabbar", // 组件参数 接收来自父组件的数据
  props: {}, // 局部注册的组件
  components: {}, // 组件状态值
  data() {
    return {};
  },
};
</script>
<style scoped>
#tabbar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  font-size: 14px;
  background-color: #f6f6f6;
  box-shadow: 0 3px 2px 4px rgba(0, 0, 0, 0.2);
}
</style>